package com.xiaoze.steampy.mapper;

import com.xiaoze.steampy.entity.Game;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 小泽
 * @since 2022-04-01
 */
@Mapper
public interface GameMapper extends BaseMapper<Game> {

    /*
    * 根据用户名获得该用户的所有game信息
    * */
    List<Game> getgameList(@Param("sell") Integer sell);
}
